<div class="page-header">
  <span>{{widget_title}}</span>
  <button class="btn btn-xs btn-success pull-right" style="margin-top: 14.5px;" ng-click="editOrAdd('add')">添加审查机构</button>
  <div class="clearfix"></div>
</div>
<table class="table table-hover table-bordered" >
  <thead>
    <tr>
      <th>序号</th>
      <th>名称</th>
      <th>状态</th>
      <th>操作</th>
    </tr>
  </thead>
  <tbody>
    <tr ng-class="{'danger' : organ.state === 'disable'}" ng-repeat="organ in check_organs">
      <td>{{$index + 1}}</td>
      <td>{{organ.name}}</td>
      <td>{{organ.state | translate}}</td>
      <td>
        <a class="btn btn-xs btn-info" ng-click="editOrAdd('edit', organ.id)">修改</a>
        <a class="btn btn-xs btn-danger" ng-click="toggleState(organ)">{{organ.state | toggleState | translate}}</a>
      </td>
    </tr>
  </tbody>
</table>
